﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopLogisticsPartner")]
    public class LogisticsPartner : BaseObject
    {
        //begin
        public LogisticsPartner()
        {}
        public LogisticsPartner(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _CoverRemark;
        public string CoverRemark
        {
            get
            {
                return _CoverRemark;
            }
            set
            {
                SetPropertyValue("CoverRemark", ref _CoverRemark, value);
            }
        }
        private string _UncoverRemark;
        public string UncoverRemark
        {
            get
            {
                return _UncoverRemark;
            }
            set
            {
                SetPropertyValue("UncoverRemark", ref _UncoverRemark, value);
            }
        }
        private PartnerDetail _Partner;
        public PartnerDetail Partner
        {
            get
            {
                return _Partner;
            }
            set
            {
                SetPropertyValue("Partner", ref _Partner, value);
            }
        }
        //end
    }
}
